Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding provision for I2C monitoring of the SFP DDMI, and running PandA sync, via the HTG SFPx4-FMC on the ST1.
This will be useful for FMC cards which carry I2C signals on the LA pins.
Details of the DDMI interface can be found here: https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://members.snia.org/document/dl/25916&ved=2ahUKEwiR3fSlqcyIAxWRW0EAHZ6oFH8QFnoECAwQAQ&usg=AOvVaw1_H0SPUbcdr31PrbjqvBsM
Useful registers could be:
20 - Vendor
84 - Date of manufacture
92 - DDMI status
110 - SFP status (TX_disabled, RX_LOS etc)
102 - TX power
104 - RX power
Running PandA-sync on ST1 requires the Si570 to be configured for 125 MHz (default is 156.25 MHz).
This can be done manually as follows:
i2cset -y 1 55 89 0x18
i2cset -y 1 55 7 0x21
i2cset -y 1 55 89 0x08 && i2cset -y 1 55 87 0x40
(need to be back-to-back or at least within 10 ms).Note as DCO frequency is not changing (both 156.25 and 125 MHz are both sub-multiples of 5GHz), only step 2 is strictly required.
See tickets #212 and #213